package com.business.system.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.business.system.pojo.TabCarParts;
import com.business.system.pojo.TabCarPartsExample;
import com.utility.Page;

public interface TabCarPartsMapper {
	int countByExample(TabCarPartsExample example);

	int deleteByExample(TabCarPartsExample example);

	int deleteByPrimaryKey(Integer id);

	int insert(TabCarParts record);

	int insertSelective(TabCarParts record);

	List<TabCarParts> selectByExample(TabCarPartsExample example);

	TabCarParts selectByPrimaryKey(Integer id);

	int updateByExampleSelective(@Param("record") TabCarParts record,
			@Param("example") TabCarPartsExample example);

	int updateByExample(@Param("record") TabCarParts record,
			@Param("example") TabCarPartsExample example);

	int updateByPrimaryKeySelective(TabCarParts record);

	int updateByPrimaryKey(TabCarParts record);

	public List<TabCarParts> findListPage(Page<TabCarParts> page)
			throws RuntimeException;
}